# 读取测试
# 统计itheima单词出现的次数
f=open("word.txt","r",encoding="utf-8")

lines=f.readlines()
sum_count=0
for line in lines:
    sum_count+=line.count("itheima")

f.close()

print(f"sumCount={sum_count}")